package com.djl.zenithbite.common.request;

import lombok.Data;

@Data
public class PageQueryRequest {

    /**
     * pageNo
     */
    private int pageNo = 0;


    /**
     * pageSize
     */
    private int pageSize = 15;

    /**
     * 获取起始位置
     * @return
     */
    public int getPageStart(){
        return pageNo * pageSize;
    }
}
